package com.adderis.soft.domain.dao;

import java.util.List;

import com.adderis.soft.domain.model.Viscosite;

/**
 * DAO for domain model class Viscosite.
 * 
 * @see com.adderis.soft.domain.model.Viscosite
 * @author Reda
 */
public interface IViscositeDao {

	/**
	 * Persist a Viscosite entity in the database
	 * 
	 * @param transientViscosite
	 */
	public void persist(Viscosite transientViscosite);
 
	/**
	 * Remove a persisted Viscosite from the database
	 * 
	 * @param persistentViscosite
	 */
	public void remove(Viscosite persistentViscosite);
 
	/**
	 * Remove a persisted Viscosite from the database
	 * 
	 * @param ViscositeId
	 */
	public void remove(Integer ViscositeId);
 
	/**
	 * Update a Viscosite in the database
	 * 
	 * @param detachedViscosite
	 * @return merged Viscosite
	 */
	public Viscosite merge(Viscosite detachedViscosite);
 
	/**
	 * Find a Viscosite by id
	 * 
	 * @param id
	 * @return the found Viscosite
	 */
	public Viscosite findById(Integer id);
 
	/**
	 * Find a list of Viscosite
	 * 
	 * @return the found Viscosite
	 */
	public List<Viscosite> findAll();
 
	/**
	 * Search Viscosites
	 * 
	 * @param searchString
	 * @return the found Viscosites
	 */
	public List<Viscosite> search(String searchString);
	
	

}

